from config import SBOXS
from common import *
from generate_sbm import init_matrix


def test(m, result):
    zero = [0 for _ in range(get_cols_amount())]

    for i in result:
        zero = row_add(m[i], zero)

    return zero



sbm = init_matrix(INPUT_WIDTH, SBOXS[INPUT_WIDTH])


print 'test passed'

